name = "Ctags Plugin"
authors = ["Ian van der Neut <ivdneut@gmail.com>"]
version = 0.1
autoload = True
class_name = "CtagsPlugin"
short_description = "Find definition of symbol."
long_description = """If there is a tags file in the current directory or,
in one of the parent directories, use it open the file where
the selected symbol is defined."""

class CtagsPlugin(object):

	def __init__(self, editor):
		self.__editor = editor
		self.__trigger = None

	def load(self):
		from Ctags.Trigger import Trigger
		self.__trigger = Trigger(self.__editor)
		return

	def unload(self):
		self.__trigger.destroy()
		return

